package org.martyn.danbodroid.gui;

import org.martyn.danbodroid.R;

import android.content.Context;
import android.widget.TextView;

/**
 * A list divider (with the same look as a PreferenceCategory), showing a simple
 * text *
 */
public class PreferenceRowDivider extends PreferenceRow
{
	public PreferenceRowDivider(Context context, int textResourceId)
	{
		super(context);

		this.addView(inflate(context, R.layout.preferences_divider, null));

		((TextView) this.findViewById(R.id.title)).setText(textResourceId);
	}
}